home *** CD-ROM | disk | FTP | other *** search
- package
- {
- import mx.core.IFlexModuleFactory;
- import mx.skins.halo.TabSkin;
- import mx.styles.CSSStyleDeclaration;
- import mx.styles.StyleManager;
-
- public class _TabStyle
- {
- public function _TabStyle()
- {
- super();
- }
-
- public static function init(param1:IFlexModuleFactory) : void
- {
- var fbs:IFlexModuleFactory = param1;
- var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("Tab");
- if(!style)
- {
- style = new CSSStyleDeclaration();
- StyleManager.setStyleDeclaration("Tab",style,false);
- }
- if(style.defaultFactory == null)
- {
- style.defaultFactory = function():void
- {
- this.paddingTop = 1;
- this.skin = TabSkin;
- this.selectedDownSkin = null;
- this.selectedUpSkin = null;
- this.selectedOverSkin = null;
- this.upSkin = null;
- this.overSkin = null;
- this.downSkin = null;
- this.selectedDisabledSkin = null;
- this.paddingBottom = 1;
- this.disabledSkin = null;
- };
- }
- }
- }
- }
-
-